<cd-prometheus-tabs></cd-prometheus-tabs>

<cd-alert-panel *ngIf="!isPrometheusConfigured"
                type="info"
                i18n>To see all configured Prometheus alerts, please
  provide the URL to the API of Prometheus as described in
  the <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel>

<cd-table *ngIf="isPrometheusConfigured"
          [data]="prometheusAlertService.rules"
          [columns]="columns"
          [selectionType]="'single'"
          [hasDetails]="true"
          (setExpandedRow)="setExpandedRow($event)"
          (updateSelection)="updateSelection($event)">
  <cd-table-key-value cdTableDetail
                      *ngIf="expandedRow"
                      [data]="expandedRow"
                      [renderObjects]="true"
                      [hideKeys]="hideKeys">
  </cd-table-key-value>
</cd-table>
